package code.part02_objectOriented;

/**
 * @author: ZJT
 * @Time: 2021/7/11
 * @Description: 封装
 */
public class P09_Package {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        P09_Package pp = new P09_Package();
        pp.setName("名称");

    }
}
